<?php
/**
 * Index Controller.
 *  
 * @author Nguyen Hai Ha
 * @version 1.0
 */

class Member_IndexController extends Zend_Controller_Action
{  
	protected $_baseUrl;
	protected $_contextPath;
	protected $_utilities;
	
	public function init() {
		$this->_baseUrl = $this->_request->getBaseURL ();
		$this->_contextPath = "member";
		
		$this->view->assign ( "baseUrl", $this->_baseUrl );
		$this->view->assign ( "contextPath", $this->_contextPath );
		
		$this->_utilities = new Utilities ( );
		$this->view->assign ( "utilities", $this->_utilities );
	}

	public function indexAction(){
		$this->_redirect($this->_contextPath."/commodity");
	}
		
}//End class.